<template>
  <div class="nav">
    <router-link to="/index">
      <span><i class="iconfont icon-home"></i></span>  
      首页
    </router-link>
    <router-link to="/decorate">
      <i class="iconfont icon-goods-copy"></i>
      店铺</router-link
    >
    <router-link to="/hydros">
      <i class="iconfont icon-dianpu"></i>
      水圈</router-link
    >
    <router-link to="/my">
      <i class="iconfont icon-wode"></i>
      我的</router-link
    >
    <router-link to="about">
      <i class="iconfont icon-icon--"></i>
      关于</router-link>
  </div>
</template>

<script>
export default {};
</script>

<style  scoped>
.nav {
  width: 100vw;
  height: 60px;
  display: flex;
  position: absolute;
  bottom: 0;
}
.nav a {
  width: 90px;
  height: 60px;
  line-height: 80px;
  color: #000;
  /* background: red; */
  justify-content: space-between;
}
.nav a .iconfunt{
  display:inline-block;
  width: 40px;
  height: 40px;
  color: #000;
}
.nav a:hover .iconfont{
  color:dodgerblue;
  display: block;
}
</style>